/*
 * @Description: 彩票api
 * @version:
 * @Author: lipeng
 * @Date: 2024-05-06 10:34:36
 */
import { postRequest, getRequest } from '@/lib/smart-request';

export const ballApi = {
    // ---------------- 通知公告类型 -----------------------

    // 双色球过滤*期，红蓝色出现最小次数统计
    forecast() {
        return getRequest('/ballController/forecast');
    },
    //3D球过去20期，红蓝色出现最小次数统计
    forecast3d() {
        return getRequest('/ballController/forecast3d');
    },

    //快乐8球过去20期，出现最小次数统计
    forecastkl8() {
        return getRequest('/ballController/forecastkl8');
    },

    //全量更新数据
    kl8() {
        return getRequest('/ballController/kl8');
    },

    /**
     * 获取进5期中奖数据
     */
    doubleColorBall() {
        return getRequest('/ballController/doubleColorBall');
    },
    happy8() {
        return getRequest('/ballController/happy8');
    },
    fc3d() {
        return getRequest('/ballController/fc3d');
    },
};
